﻿using Framework;

namespace Module.M2
{
    public class M2OtherController : Controller<M2View>
    {
        protected override void Init()
        {
            AddListener<string>(M2Event.GetServiceData, OnGetData);
        }

        private void OnGetData(string data)
        {
            view.SetText(data);
        }
    }
}